package com.example.hyw.szysteam.myEmail;

import android.util.Log;

import java.util.*;
/**
 * Created by HYW on 2018/5/19.
 */

public class MackCode {
    public static String mackCode(){
        String code="";
        String tmp;
        Random r=new Random();
        for(int i=0;i<4;i++){
            tmp=String.valueOf(r.nextInt(10));
            code=code+tmp;
            Log.w(code,code);
        }
        return code;
    }
}
